{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf%}

{% block page_content %}

    <div class="page-header">
        <h1>Hello {% if name %} {{name}} {% else %} 访客 {% endif %}</h1>
        <div>
            <p>本地时间 {{ moment(current_time).format('LLL') }}</p>
            <p>距离 {{ moment(current_time).fromNow(refresh=True) }}</p>
        </div>
    </div>
    {{ wtf.quick_form(form) }}
{% endblock %}
